Work aroudn swiotlb issue where a read-only host buffer is
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 16 Dec 2005 23:43:00 +0000 (00:43 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 16 Dec 2005 23:43:00 +0000 (00:43 +0100)
commit97c947f20902d126afb241745a61d3ff3fe854fe
treec0b54e198c3237f381b75a964376c9a88ab2c383
parent8e19e0e370185852a42c3cee899e1b4639606b58
Work aroudn swiotlb issue where a read-only host buffer is
mapped for DMA_BIDIRECTIONAL streaming access by certain
low-level drivers. This causes an unnecessary copy to the
host buffer that previously caused a fatal kernel page fault.

Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/arch/xen/i386/kernel/swiotlb.c